package com.lucene.mapper;

import com.lucene.model.Contact;
import com.lucene.model.Image;

import java.util.List;

/**
 * Created by zl on 2015/8/27.
 */
public interface ContactMapper {

    Contact searchByName(Contact contact);//根据名称或者昵称
    int insertContact(Contact contact);
    List<Contact> getAllContacts();//获取所有的联系人;
    int updateContact(Contact contact);//更新联系人
}
